﻿using System;
using ECSBase.Component.MaskRelated;

namespace ECSBase
{
    public abstract class ComponentBase
    {
        public static int Mask
        {
            get { throw new NotImplementedException(); }
        }

        public int EntityID { get; internal set; }

        public Entity entity
        {
            get { return ECSWorld.GetEntity(EntityID); }
        }

        public virtual ComponentBase Init()
        {
            throw new NotImplementedException();
        }
    }
}
